<?php

use Symfony\Component\Finder\Finder;

ini_set('error_reporting', E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING);
$routePath = base_path() . DIRECTORY_SEPARATOR . 'routes' . DIRECTORY_SEPARATOR . 'web';
foreach (Finder::create()->files()->name('*.php')->in($routePath) as $file) {
    require_once $file;
}
